<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			[v-cloak]{
				display: none
			}
		</style>
	</head>
	<body>
		<div id="app2" v-cloak>
			<h1>cdailh</h1>
			<h1 v-pre>{{msg}}</h1>
			<h1 v-text="msg"></h1>
			
			<span v-html="a2"></span>
			<span v-once='one'>{{one}}</span>
		</div>
		
		<script src="../vue.js"></script>
		<script>
			const a = new Vue({
				el:"#app2",
				data:{
					msg:"测试数据",
					a2: '<h2>这个是v-html</h2>',
					one:'解析一次'
				}
			})
		</script>
	</body>
</html>
